//
//  CWQ_userInfoHeadView.h
//  BaxTer
//
//  Created by 陈武琦 on 16/9/9.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

@class CWQ_userInfoHeadView;
@protocol CWQ_userInfoHeadViewDelegate <NSObject>

- (void)headView:(CWQ_userInfoHeadView *)headView clickHeadBtn:(UIButton *)headBtn;
- (void)headView:(CWQ_userInfoHeadView *)headView clickTrainCampBtn:(UIButton *)trainCampBt;
- (void)headView:(CWQ_userInfoHeadView *)headView clickIntegralBtn:(UIButton *)integralBtn;

@end


#import <UIKit/UIKit.h>
#import "BTUserLevelM.h"

@interface CWQ_userInfoHeadView : UIView
@property (weak, nonatomic) IBOutlet UIButton *headBtn;
@property (weak, nonatomic) IBOutlet UILabel *userName;
@property (weak, nonatomic) IBOutlet UIButton *trainCamp;
@property (weak, nonatomic) IBOutlet UILabel *proportion;
@property (weak, nonatomic) IBOutlet UILabel *content;
@property (weak, nonatomic) IBOutlet UIImageView *trainCampIcon;

@property(nonatomic, weak) id <CWQ_userInfoHeadViewDelegate> delegate;
+ (instancetype)headView;
@property(nonatomic, strong)BTUserLevelM *model;
@end
